package com.boboPlanet.user.test;

import lombok.extern.slf4j.Slf4j;

/**
 * @Description: TODO
 * @Author: mis_wu
 * @Date: 2023/8/8
 * @Company
 **/
@Slf4j
public abstract class BehaviorFactoryAbstract implements Behavior {

    public BehaviorFactoryAbstract() {
    }

    protected void myself(){
        log.info("抽象类中可以有自己的方法。。。。");
    }

    abstract String cc();

    @Override
    public String people() {
        return "people is: hahaha";
    }

    @Override
    public void speak(String speak) {
        log.info("people speak is: {}",speak);
    }
}
